package mnnu.ghbe.repository;

import mnnu.ghbe.entity.Ranking;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RankingRepository extends JpaRepository<Ranking, String> {
    List<Ranking> findAllByOrderByScoreDesc();
}